package com.cainaer.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cainaer.shop.domain.ShopLicense;

/**
 * <p>
 * 商家入驻许可证 服务类
 * </p>
 *
 * @author Tina
 * @since 2020-09-03
 */
public interface IShopLicenseService extends IService<ShopLicense> {

    /**
     * 通过商家Id查询是否入住许可证
     *
     * @param shopId
     * @return
     */
    public ShopLicense selectShopLicenseByShopId(Long shopId);

    /**
     * 编辑商家入驻许可证信息
     *
     * @param shopLicense
     * @return
     */
    public Integer editShopLicenseByShopId(ShopLicense shopLicense);

    /**
     * 新增商家入驻许可证信息
     *
     * @param shopLicense
     * @return
     */
    public Integer insertShopLicense(ShopLicense shopLicense);

}
